import axios from "./axios";

export const login = (data) => {
    return axios.post('/user/login',data);
}

export const register = (data) => {
    return axios.post('/user/register',data);
}

export const editUserInfo = (data) => {
    return axios.post('/user/edit',data)
}